<?php
declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 * @method static string getMessage(int $status)
 */
class TaskStatus extends BaseConstants
{

    /**
     * @Message("等待支付")
     */
    const WAIT_PAY = 0;

    /**
     * @Message("审核中")
     */
    const WAIT_AUDIT = 1;

    /**
     * @Message("进行中")
     */
    const DONE = 2;

    /**
     * @Message("已驳回")
     */
    const CLOSE = -1;

}
